import os
import time
import pytest



if __name__ == '__main__':
    pytest.main()
    time.sleep(1)
    # 生成测试报告
    os.system("allure generate ./allure-results -o ./report --clean")
    print("测试完成")
